﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/Member/UserManage.master"
    AutoEventWireup="true" CodeFile="SincereAgentAdd.aspx.cs" Inherits="Member_Agent_SincereAgentAdd"
    Title="诚招代理加盟" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="Server">

    <script type="text/javascript" src="../../JS/js1.js"></script>

    <form id="form1" action="">
        <div id="sub_content">
            <div class="pagetitle">
                诚招代理加盟</div>
            <div class="tishi">
            <span>提&nbsp;示：</span>
			<p>·产品关键字请出现在标题中，可让您的信息更容易被搜索到。</p>
			<p>·详细的产品简介，可提高客户关注度。</p>
			<div class="clr"></div>
			</div>
			<div class="tishi_xin">
                提示：带 <span class="red">*</span> 为必填项
            </div>
			<div class="clr"></div>
            <div class="h2_title">
                <h2>
                    诚招代理加盟</h2>
            </div>
                <asp:HiddenField ID="txtProvince" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtCity" runat="server"></asp:HiddenField>
                <asp:HiddenField ID="txtCounty" runat="server"></asp:HiddenField>
                <table cellspacing="0" cellpadding="0" border="0" class="lr_bo">
                    <tr>
                        <td width="17%" class="thing">代理加盟名称：<span class="red">*</span></td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox>
                            </span>
                            <div id="txt0">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing"> 请选择分类：<span class="red">*</span></td>
                        <td class="td_c">
                            <asp:ListBox ID="lstParentType" runat="server" AutoPostBack="True" DataSourceID="sdsBindParentType" DataTextField="Name" DataValueField="ID" Height="140px"  Width="132px"></asp:ListBox>
                            <asp:SqlDataSource ID="sdsBindParentType" runat="server" ConnectionString="<%$ ConnectionStrings:sqlData %>"
                                SelectCommand="SELECT * FROM [W_AgentType] WHERE ([ParentID] = @ParentID)">
                                <SelectParameters>
                                    <asp:Parameter DefaultValue="0" Name="ParentID" Type="Int32" />
                                </SelectParameters>
                            </asp:SqlDataSource></td>
                    </tr>
                    <tr>
                        <td class="thing">
                            信息标题：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt1">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            信息有效期：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <asp:RadioButtonList ID="radlValidity" runat="server" RepeatDirection="Horizontal"
                                RepeatLayout="Flow">
                                <asp:ListItem Value="10">10天</asp:ListItem>
                                <asp:ListItem Value="20">20天</asp:ListItem>
                                <asp:ListItem Value="30">1个月</asp:ListItem>
                                <asp:ListItem Value="90">3个月</asp:ListItem>
                                <asp:ListItem Value="180" Selected="True">6个月</asp:ListItem>
                            </asp:RadioButtonList></td>
                    </tr>
                    <tr>
                        <td class="thing">
                            品牌：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtBrand" runat="server" Width="200px"></asp:TextBox></span>
                            <div id="txt2">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            基本投资额：
                        </td>
                        <td class="td_c">
                            <asp:DropDownList ID="dropInvestment" runat="server">
                                <asp:ListItem>请选择</asp:ListItem>
                                <asp:ListItem>0-0.5万</asp:ListItem>
                                <asp:ListItem>0.5-1万</asp:ListItem>
                                <asp:ListItem>1-5万</asp:ListItem>
                                <asp:ListItem>5-10万</asp:ListItem>
                                <asp:ListItem>10-50万</asp:ListItem>
                                <asp:ListItem>50-100万</asp:ListItem>
                                <asp:ListItem>大于100万</asp:ListItem>
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td class="thing">
                            保证金额：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtAmount" runat="server" Width="200px"></asp:TextBox>
                                元</span><div id="txt3">
                                </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            加盟费：<span class="red">*</span>
                        </td>
                        <td class="td_c">
                            <span>
                                <asp:TextBox ID="txtInitialFee" runat="server" Width="200px"></asp:TextBox>
                                元</span><div id="txt4">
                                </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            项目区域要求：
                        </td>
                        <td class="td_c">
                            <asp:DropDownList ID="dropRequire" runat="server">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                                    <td class="thing">
                                        品牌发源地：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtCradle" runat="server" Width="200px"></asp:TextBox></span>
                                        <div id="txt5">
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        预计回报率：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtPayback" runat="server" Width="200px"></asp:TextBox> %</span>
                                       <div id="txt6">
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        预计回报周期：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtPeriod" runat="server" Width="200px"></asp:TextBox>
                                            年</span><div id="txt7">
                                            </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        特许权使用费：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtConcession" runat="server" Width="200px"></asp:TextBox>
                                            元</span><div id="txt8">
                                            </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        合同期限：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtContract" runat="server" Width="200px"></asp:TextBox>
                                            年</span><div id="txt9">
                                            </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        加盟商总数：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtCount" runat="server" Width="200px"></asp:TextBox>
                                            家</span><div id="txt10">
                                            </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        特许经营时间：
                                    </td>
                                    <td class="td_c">
                                        <span>
                                            <asp:TextBox ID="txtBusinessDate" runat="server" Width="200px"></asp:TextBox> 
                                            年</span>
											<div id="txt11">
                                            </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="thing">
                                        是否多品牌经营：
                                    </td>
                                    <td class="td_c">
                                        <asp:RadioButtonList ID="radlisMoreBrand" runat="server" RepeatDirection="Horizontal"
                                            RepeatLayout="Flow">
                                            <asp:ListItem Value="True">是</asp:ListItem>
                                            <asp:ListItem Value="False" Selected="True">否</asp:ListItem>
                                        </asp:RadioButtonList></td>
                                </tr>
                                <tr>
                                    <td class="thing">经营模式：
                                    </td>
                                    <td class="td_c">
                                        <asp:CheckBoxList ID="chklBusinessMode" runat="server" RepeatDirection="Horizontal"
                                            RepeatLayout="Flow">
                                            <asp:ListItem Value="0">经销</asp:ListItem>
                                            <asp:ListItem Value="1">代理</asp:ListItem>
                                            <asp:ListItem Value="2">特许</asp:ListItem>
                                            <asp:ListItem Value="3">合作</asp:ListItem>
                                            <asp:ListItem Value="4">自由连锁</asp:ListItem>
                                            <asp:ListItem Value="5">直营</asp:ListItem>
                                            <asp:ListItem Value="6">其他</asp:ListItem>
                                        </asp:CheckBoxList></td>
                                </tr>
                                <tr>
                                    <td class="thing">发展模式：
                                    </td>
                                    <td class="td_c">
                                        <asp:CheckBoxList ID="chklDevelopmental" runat="server" RepeatDirection="Horizontal"
                                            RepeatLayout="Flow">
                                            <asp:ListItem Value="0">经销</asp:ListItem>
                                            <asp:ListItem Value="1">区域代理</asp:ListItem>
                                            <asp:ListItem Value="2">自由代理</asp:ListItem>
                                            <asp:ListItem Value="3">单店特许</asp:ListItem>
                                            <asp:ListItem Value="4">区域开发</asp:ListItem>
                                            <asp:ListItem Value="5">二级特许</asp:ListItem>
                                            <asp:ListItem Value="6">其他</asp:ListItem>
                                        </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            详细说明：
                        </td>
                        <td class="td_c">
                            <FCKeditorV2:FCKeditor ID="Detail" runat="server" BasePath="~/Control/fckeditor/"
                                ToolbarSet="Basic" Height="400" width="640">
                            </FCKeditorV2:FCKeditor>
                        </td>
                    </tr>
                    <tr>
                        <td class="thing">
                            上传图片：
                        </td>
                        <td class="td_c">
                            <asp:HiddenField ID="HiddUserID" runat="server" />
                            <asp:HiddenField ID="ImgUrl1" runat="server" />
                            <a href="" id="txturldz" target="_blank">
                                <img border="0" src="../../Images/System/wutu.gif" id="ImgUrl" alt="" runat="server"
                                    style="width: 106px; height: 95px" /></a><br />
                            <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                            <div id="rowTest" style="display: none">
                                <iframe name="tag" src="../Tool/Upload.html" style="width: 550px; height: 120px"
                                    frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                                </iframe>
                            </div>
                            <div id="Upload">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center" style="height: 45px; border-bottom: 1px #CCCCCC solid;">
                            <asp:Button ID="btnSave" runat="server" Text="我要发布" OnClick="btnSave_Click" CssClass="i_button" />
                            <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="i_button" />
                        </td>
                    </tr>
                </table>
        </div>
    </form>

    <script type="text/javascript" src="../../JS/Common.js"></script>

    <script type="text/javascript" src="../js/SincereAgent.js"></script>

</asp:Content>
